package com.xiaoyu.izf.service;

import com.xiaoyu.izf.model.UserCardInfo;
import com.xiaoyu.izf.repository.UserCardInfoDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserCardInfoService {

    @Autowired
    private UserCardInfoDao userCardInfoDao;

    public UserCardInfo findById(int id){
        return userCardInfoDao.findOneById(id);
    }
}
